<template>
  <div>
    test
    {{ userStore.count }}
    <button @click="userStore.increment()">increment</button>
    {{ msgStore.count }}
    <button @click="msgStore.test()">test</button>
    <test></test>
    <div class="mb-4">
      <el-button>Default</el-button>
      <el-button type="primary">Primary</el-button>
      <el-button type="success">Success</el-button>
      <el-button type="info">Info</el-button>
      <el-button type="warning">Warning</el-button>
      <el-button type="danger">Danger</el-button>
    </div>
  </div>
</template>

<script setup  lang="ts" >
import Test from "./views/Test.vue";
import { userMsgStore, useUserStore } from "@/stores/index";
const userStore = useUserStore();
const msgStore = userMsgStore();
</script>

<style lang="scss" scoped>
div {
  color: red;
}
</style>